package com.example.wxai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wxai.pijo.dto.CommentDto;
import com.example.wxai.pijo.entity.Comment;
import com.example.wxai.pijo.vo.CommentVo;
import com.example.wxai.result.PageResult;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-12-15
 */
public interface ICommentService extends IService<Comment> {

    void addComment(CommentDto commentDto);

    PageResult<CommentVo> getPageComment(String essayId, Integer pageNo, String userId);
}
